from senseface_app_test.GetRes import *
from senseface_app_test.TestConfig import *


def get_test_case():
    GetRes.get_bytes_uid()


def run_count(count):
    for i in range(200000):
        cpu = get_res.get_cpu(find_types, package_name)
        mem = get_res.get_mem(find_types, package_name)
        print(("cpu:%s   mem:%s") % (cpu, mem))


if __name__ == '__main__':
    package_name = "com.sensetime.iva.senseface"
    config = Confing()
    find_types = config.get_system()
    # find_types = "findstr"
    get_res = GetRes()
    run_count(2000000)

